package protocol.command.request;

import lombok.Data;
import protocol.command.Command;
import protocol.command.Packet;

/**
 * @author xiaozefeng
 * @date 2018/12/3 3:11 PM
 */
@Data
public class MessageRequestPacket extends Packet {

    private String message;

    public MessageRequestPacket(String message) {
        this.message = message;
    }

    public MessageRequestPacket() {
    }

    @Override
    public Byte getCommand() {
        return Command.MESSAGE_REQUEST;
    }

}
